<?php
require('fst.photoalbum.php');

$tag = $_GET['tag'];
$album = $_GET['album'];

// get params
$options = array(
	'tag' => $tag,
	'album' => $album,
	'photo' => $_GET['photo'],
	'size' => $_GET['size']
);

$fst = new FSTPhotoAlbum();

?>

<html>
<head>
	<title>FST Gallery</title>
	<link rel="stylesheet" href="gallery.css" type="text/css" media="screen" charset="utf-8" />
</head>

<body>

<?php
if ($_GET['debug'] && $album) {
	$fst->showAdminConsole($album, $tag, $_GET['type'], true);
} 
?>

<div id="container">
	
	<div id="fst" class="fst">
		<div class="fst-gallery">

		<?php


		echo $fst->show($options);
		//$fst->showAlbumsList('kairos');

		?>

		</div>
	</div> <!-- end #fst -->

</div> <!-- end #container -->
</body>
</html>